package com.ruoyi.project.AnswerQuestion.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 实验答疑，提问对象 tb_answer
 * 
 * @author lvyongwei
 * @date 2020-11-26
 */
@Alias("TbQuestion")
public class TbQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题id */
    @Excel(name = "问题id")
    private Long questionId;

    /** 问题内容 */
    @Excel(name = "问题内容")
    private String questionContent;

    /** 提问用户id */
    @Excel(name = "提问用户id")
    private Long questionUserId;

    /** 实验id */
    @Excel(name = "实验id")
    private Long experimentId;

    /** 是否回复(1.未回复 2.回复) */
    @Excel(name = "是否回复(1.未回复 2.回复)")
    private Long ifResponse;

    /**
     * 提问者姓名
     */
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getQuestionContent() {
        return questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }

    public Long getQuestionUserId() {
        return questionUserId;
    }

    public void setQuestionUserId(Long questionUserId) {
        this.questionUserId = questionUserId;
    }

    public Long getExperimentId() {
        return experimentId;
    }

    public void setExperimentId(Long experimentId) {
        this.experimentId = experimentId;
    }

    public Long getIfResponse() {
        return ifResponse;
    }

    public void setIfResponse(Long ifResponse) {
        this.ifResponse = ifResponse;
    }

    @Override
    public String toString() {
        return "TbQuestion{" +
                "questionId=" + questionId +
                ", questionContent='" + questionContent + '\'' +
                ", questionUserId=" + questionUserId +
                ", experimentId=" + experimentId +
                ", ifResponse=" + ifResponse +
                ", userName='" + userName + '\'' +
                '}';
    }
}
